package com.ruoyi.basicData.ruleSetting.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单据规则对象 document_rules
 * 
 * @author ruoyi
 * @date 2024-01-23
 */
@Data
public class DocumentRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 单据类型（值：对应的字段） */
    @Excel(name = "单据类型", readConverterExp = "值=：对应的字段")
    private String documentType;

    /** 编码分段 */
    @Excel(name = "编码分段")
    private String codeSegment;

    /** 段间分隔符 */
    @Excel(name = "段间分隔符")
    private String separator;

    /** 应用规则（是否允许修改） */
    @Excel(name = "应用规则", readConverterExp = "是=否允许修改")
    private String applicationRule;

    /** 常量记录 */
    @Excel(name = "常量记录")
    private String constRecord;

    /** 单据日期格式 */
    @Excel(name = "单据日期格式")
    private String dateFormat;

    /** 流水号长度 */
    @Excel(name = "流水号长度")
    private Long serialNumLength;

    /** 编码拼接顺序 */
    @Excel(name = "编码拼接顺序")
    private String encodeJoinSequence;
}
